<%--
  Created by IntelliJ IDEA.
  User: Khacheresyants.l
  Date: 3/4/14
  Time: 2:44 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<t:genericpage>
      <jsp:attribute name="pageUrl">
        <script>
            var url ="ajax/${model.searchTag}?offset="
        </script>
    </jsp:attribute>
    <jsp:attribute name="search">
        <t:searhForm parametr="${model.searchTag}"/>
    </jsp:attribute>
    <jsp:body>
        <t:productList products="${model.productList}" productTags="${model.tagForEach}"/>
    </jsp:body>
</t:genericpage>
